package org.overmind.ieat.server.model;

/**
 * @author eugene.karanda
 */
public class ExceptionInfo {
    private String requiredUrl;
    private String errorMessage;

    public ExceptionInfo(String requiredUrl, String errorMessage) {
        this.errorMessage = errorMessage;
        this.requiredUrl = requiredUrl;
    }

    public String getRequiredUrl() {
        return requiredUrl;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    @Override
    public String toString() {
        return "ExceptionInfo{" +
                "errorMessage='" + errorMessage + '\'' +
                '}';
    }
}
